package day15.OneStageSystem;

import java.io.Serializable;

//电话卡用户实体类
public class MobileCard implements Serializable {
    private String cardNumber;
    private String userName;
    private String password;
    private ServicePackage servicePackage;
    private double consumerAmount;
    private double money;
    private int realTalkTime;
    private int realSMSCount;
    private int realFlow;

    public MobileCard(String cardNumber, String userName, String password,
                      ServicePackage servicePackage, double consumerAmount, double money) {
        this.cardNumber = cardNumber;
        this.userName = userName;
        this.password = password;
        this.servicePackage = servicePackage;
        this.consumerAmount = consumerAmount;
        this.money = money;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public ServicePackage getServicePackage() {
        return servicePackage;
    }

    public void setServicePackage(ServicePackage servicePackage) {
        this.servicePackage = servicePackage;
    }

    public double getConsumerAmount() {
        return consumerAmount;
    }

    public void setConsumerAmount(double consumerAmount) {
        this.consumerAmount = consumerAmount;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getRealTalkTime() {
        return realTalkTime;
    }

    public void setRealTalkTime(int realTalkTime) {
        this.realTalkTime = realTalkTime;
    }

    public int getRealSMSCount() {
        return realSMSCount;
    }

    public void setRealSMSCount(int realSMSCount) {
        this.realSMSCount = realSMSCount;
    }

    public int getRealFlow() {
        return realFlow;
    }

    public void setRealFlow(int realFlow) {
        this.realFlow = realFlow;
    }
}
